toggle menu
My Neighbor Alice
dapp
switch theme
search in API
My Neighbor Alice
/
math.noise
Module-level
declarations
Functions
Properties
Properties
F2
Link copied to clipboard
val
F2
:
decimal
=
"0.3660254"
F3
Link copied to clipboard
val
F3
:
decimal
=
"0.33333333"
F4
Link copied to clipboard
val
F4
:
decimal
=
"0.30901699"
G2
Link copied to clipboard
val
G2
:
decimal
=
"0.21132487"
G3
Link copied to clipboard
val
G3
:
decimal
=
"0.16666667"
G4
Link copied to clipboard
val
G4
:
decimal
=
"0.1381966"
Functions
GRAD3
Link copied to clipboard
function
GRAD3
(
)
:
list
<
integer
>
simplex_2d
Link copied to clipboard
function
simplex_2d
(
perm_mod12
:
list
<
integer
>
,
perm
:
list
<
integer
>
,
grad3
:
list
<
integer
>
,
x
:
decimal
,
y
:
decimal
)
:
decimal
simplex_3d
Link copied to clipboard
function
simplex_3d
(
perm_mod12
:
list
<
integer
>
,
perm
:
list
<
integer
>
,
grad3
:
list
<
integer
>
,
x
:
decimal
,
y
:
decimal
,
z
:
decimal
)
:
decimal
sum_octave_2d
Link copied to clipboard
function
sum_octave_2d
(
perm_mod12
:
list
<
integer
>
,
perm
:
list
<
integer
>
,
grad3
:
list
<
integer
>
,
iterations
:
integer
,
x
:
integer
,
y
:
integer
,
persistence
:
decimal
,
lacunarity
:
decimal
,
scale
:
decimal
,
low
:
integer
,
high
:
integer
)
:
decimal
sum_octave_3d
Link copied to clipboard
function
sum_octave_3d
(
perm_mod12
:
list
<
integer
>
,
perm
:
list
<
integer
>
,
grad3
:
list
<
integer
>
,
iterations
:
integer
,
x
:
integer
,
y
:
integer
,
timestamp
:
integer
,
persistence
:
decimal
,
lacunarity
:
decimal
,
scale
:
decimal
,
low
:
integer
,
high
:
integer
)
:
decimal